package com.mp.approvalreq.entity;

import java.util.List;

/**
 * Created by liuqi on 2018/10/13.
 */
public class DaysOffTimeInfo {
    private Integer requestId;
    private String createTime;
	private String totalTime;
	private String leaveTimestamp;
	private List<TimeInfo> timeInfos;
	
	public DaysOffTimeInfo() {
	}
	
	public String getTotalTime() {
		return totalTime;
	}
	
	public void setTotalTime(String totalTime) {
		this.totalTime = totalTime;
	}
	
	public List<TimeInfo> getTimeInfos() {
		return timeInfos;
	}
	
	public void setTimeInfos(List<TimeInfo> timeInfos) {
		this.timeInfos = timeInfos;
	}
	
	public String getLeaveTimestamp() {
		return leaveTimestamp;
	}
	
	public void setLeaveTimestamp(String leaveTimestamp) {
		this.leaveTimestamp = leaveTimestamp;
	}
	
	static class TimeInfo {
		String timeSegment;
		String showTime;
		
		public String getTimeSegment() {
			return timeSegment;
		}
		
		public void setTimeSegment(String timeSegment) {
			this.timeSegment = timeSegment;
		}
		
		public String getShowTime() {
			return showTime;
		}
		
		public void setShowTime(String showTime) {
			this.showTime = showTime;
		}
	}

    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "DaysOffTimeInfo{" +
                "requestId=" + requestId +
                ", createTime='" + createTime + '\'' +
                ", totalTime='" + totalTime + '\'' +
                ", leaveTimestamp='" + leaveTimestamp + '\'' +
                ", timeInfos=" + timeInfos +
                '}';
    }
}
